package lang4j.parser.generated;
//meta2 now!

import lang4j.parser.Position;
import lang4j.parser.ParsedEntity;
                              
public class Lang4jGrammar  implements ParsedEntity {

// Attributes
    private String comment;
        private boolean commentIsSet;
        private String name;
        private String packageName;
        private java.util.List<Production> productions;
    
    Position mStart;
    Position mEnd;

    public Lang4jGrammar(){
    }

    public Position mGetStart(){
        return mStart;
    }
    public Position mGetEnd(){
        return mEnd;
    }

    public void mSetStart(Position start){
        this.mStart=start;
    }

    public void mSetEnd(Position end){
      this.mEnd=end;
    }


// Accessors ******************************************************************

    public String getComment(){
        return comment;
    }

    public void setComment(String comment){
        commentIsSet=true;
        this.comment=comment;
    }

    /** returns whether this attribute has been set */
    public boolean hasComment(){
        return commentIsSet;
    }
    public String getName(){
        return name;
    }

    public void setName(String name){
        this.name=name;
    }

    public String getPackageName(){
        return packageName;
    }

    public void setPackageName(String packageName){
        this.packageName=packageName;
    }

    public java.util.List<Production> getProductions(){
        return productions;
    }

    public void setProductions(java.util.List<Production> productions){
        this.productions=productions;
    }


// Acceptors ******************************************************************


// Transformers ******************************************************************


// Property based type identification ****************************************

    public boolean isLang4jGrammar(){
        return true;
    }
}